package com.lemon.boot.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author 李猛
 * @datetime 2024/6/1 14:19
 * @description 类对象
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "树形选择视图对象-用于选择")
public class TreeSelectVO {
    //选择的值
    @ApiModelProperty(value = "选择的值")
    private Long value;

    //显示的值
    @ApiModelProperty(value = "显示的值")
    private String label;

    //子数据
    @ApiModelProperty(value = "显示的值")
    private List<TreeSelectVO> children;

    //父菜单ID
    @ApiModelProperty(value = "父菜单ID")
    private Long parentId;
}
